package com.system.healthproject.service;

import com.system.healthproject.model.admin.paramsbean.AbnormalEEGParams;
import com.system.healthproject.model.admin.paramsbean.DiseaseOnsetParams;
import com.system.healthproject.model.admin.paramsbean.DrugParams;
import com.system.healthproject.model.admin.paramsbean.SymptomParams;
import com.system.healthproject.pojo.*;

import java.util.List;

public interface CommonParamsService {

    boolean addSymptom(SymptomParams symptom);

    boolean addSymptomType(String symptomType);

    List<SymptomType> symptomTypeList();

    List<Symptom> symptomListByType(Integer typeId);

    boolean addDiseaseOnset(DiseaseOnsetParams symptom);

    boolean addDiseaseOnsetType(String diseaseonsettypeName);

    boolean deleteDiseaseOnsetType(Integer diseaseonsettypeId);


    List<DiseaseOnset> diseaseOnsetListByType(Integer typeId);

    List<DiseaseOnsetType> diseaseOnsetTypeList();

    boolean addEEG(AbnormalEEGParams abnormalEEGParams);

    boolean addEEGType(String abnormaleegtypeName);

    boolean deleteEEGType(Integer abnormaleegtypeId);


    List<AbnormalEEG> eeGListByType(Integer typeId);

    List<AbnormalEEGType> eeGTypeList();

    boolean addDrug(DrugParams drugParams);

    boolean addDrugType(String drugtypeName);

    boolean deleteDrugType(Integer drugtypeId);


    List<DrugType> DrugTypeList();

    List<Drug> drugListByTypeId(Integer typeId);

    boolean addCt(String ctName);

    List<Ct> ctList();

    boolean addOperation(String operationName);

    List<Operation> operationList();

    boolean addChronic(String chronicName);

    List<Chronic> chronicList();

    boolean addInheritance(String chronicName);

    List<Inheritance> inheritanceList();

    boolean deleteSymptom(Integer id);

    boolean deleteSymptomType(Integer id);

    boolean deleteDiseaseOnset(Integer id);

    boolean deleteEEg(Integer eegId);

    boolean deleteDrug(Integer drugId);

    boolean deleteCt(Integer ctId);

    boolean deleteOperation(Integer operationId);

    boolean deleteChronic(Integer chronicId);

    boolean deleteInheritance(Integer inheritanceId);

}
